.workbench-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  background: #fff;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 60px;
  line-height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .avator {
    margin-top: 20px;
    padding: 0px 10px;
    .user-avatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
    }
  }
  h2 {
    font-family: "叶根友特楷简体";
    padding: 0px 5px;
  }
  .btn {
    margin-right: 5px;
  }
}

.content-wrapper {
  display: flex;
  flex: 1;
  overflow: hidden;
  width: 100%;
}

.nav-left {
  width: 200px;
  height: 100%;
  background: #f8f9fa;
  border-right: 1px solid #dee2e6;
  overflow-y: auto;
  box-sizing: border-box;
  flex-shrink: 0; /* 防止导航栏被压缩 */

  .nav-item {
    width: 100%;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
    transition: all 0.3s; /* 添加过渡效果 */
    border-radius: 10px;
    font-size: 14px;
    margin-top: 5px;
    .curcle {
      width: 50px;
      height: 50px;
      background: #1261ff;
      border-radius: 50%;
      font-size: 12px;
      color: #fff;
      margin-left: 5px;
    }
    span {
      margin-left: 10px;
    }
  }
  .nav-item:hover {
    background: #eef4ff;
  }
}

.scrollable-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box; /* 包含内边距在宽度内 */
  .information {
    display: flex;
    gap: 25px;
    align-items: center;
    padding: 0px 20px;
    .info-left {
      width: 400px;
      height: 150px;
      background: linear-gradient(to right, #e7f2ff 0%, #d5e7fe 100%);
      border-radius: 10px;
      h4 {
        padding: 10px 10px;
      }
      .info-vip {
        margin-top: 20px;
        margin-left: 10px;
        .vipBtn {
          width: 120px;
          border-radius: 5px;
          border: none;
          background: linear-gradient(to right, #fad09a 0%, #e5ab62 100%);
          color: #774516;
          font-weight: bold;
        }
        .vip-detail {
          display: flex;
          justify-content: space-between;
          padding: 0px 10px;
          width: 350px;
          height: 30px;
          line-height: 30px;
          border-radius: 5px;
          font-size: 12px;
          margin-top: 10px;
          background: #f0f6ff;
          color: #828385;
        }
      }
    }
    .info-cal {
      width: 800px;
      height: 150px;
      border: 1px solid #e6ebed;
      border-radius: 10px;
      padding: 10px;
      .top-cal {
        width: 240px;
        height: 60px;
        position: relative; // 确保弹出层相对于此元素定位
        cursor: pointer;
        border-radius: 10px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        .calendar-popup {
          position: absolute;
          top: 100%;
          left: 0;
          z-index: 1000;
          width: 800px;
          background-color: white;
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
          border-radius: 8px;
          overflow: hidden;
          margin-top: 5px;
        }

        .bar {
          width: 0px;
          height: 50px;
          border: 1px solid #e6ebed;
        }
        .festival {
          width: 80px;
          height: 40px;
          text-align: center;
          line-height: 40px;
          border-radius: 10px;
        }
      }
      .top-cal:hover {
        background: #f5f7fb;
      }
      .top-cal:hover .festival {
        background: #fff;
      }
      .cal-detail {
        margin-top: 10px;
        width: 750px;
        height: 60px;

        font-size: 14px;
        border-top: 1px solid #e6ebed;
        p {
          margin-top: 10px;
          cursor: pointer;
          color: #4f4f4f;
        }
        p:hover {
          color: #1261ff;
        }
      }
    }
  }

  //数据信息
  .data-info {
    width: 100%;
    height: 320px;

    margin-top: 15px;
    padding: 10px;
    font-size: 14px;
    .data-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      .top-left {
        display: flex;
        gap: 15px;
        align-items: center;
        .data {
          width: 80px;
          height: 30px;
          background: #f5f7fb;
          text-align: center;
          line-height: 30px;
          border-radius: 20px;
          cursor: pointer; // 添加指针样式
          transition: all 0.3s; // 添加过渡效果
        }
        // 高亮状态样式
        .data.active {
          font-weight: bold;

          color: #1261ff;
        }
        .data:hover{
          font-weight: bold;

          color: #1261ff;
        }
      }
    }
    .data-content {
      width: 100%;
      height: 250px;

      margin-top: 15px;
      .works-content {
        width: 100%;
        height: 250px;
        border: 1px solid #e6ebed;
        display: flex;
        justify-content: space-between;
        align-content: center;
        .weekly-report {
          width: 50%;

          .weekly-top {
            padding: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
          }
          .weekly-content {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 60px;
            gap: 20px;
            .weekly-item {
              width: 100px;
              height: 100px;

              text-align: center;

              .curcle-item {
                width: 50px;
                height: 50px;
                line-height: 50px;
                text-align: center;
                border-radius: 50%;
                background: #f5f7fb;
                margin-left: 25px;
              }
              p {
                color: #4f4f4f;
                font-size: 12px;
                margin-top: 5px;
              }
            }
          }
        }

        .data-analysis {
          width: 50%;

          padding: 5px 0px;
          .data-chart {
            width: 640px;
            height: 210px;
          }
        }
      }

      .distribution-content {
        width: 100%;
        height: 250px;

        padding: 10px;
        .sub-tabs {
          display: inline-block;
          width: 100px;
          height: 40px;
          line-height: 40px;
          text-align: center;
          border: 1px solid #e6ebed;
          cursor: pointer;
        }
        .sub-tabs.active {
          background: #1261ff;
          color: white;
        }
        .sub-content {
          width: 100%;
          height: 200px;

          display: flex;
          justify-content: center;
          align-items: center;
          background: url(../../../public//loginImg//man.jpg) no-repeat center
            center;
          background-size: 100px 100px;
        }
      }
    }
  }

  //作品
  .sub-works {
    width: 100%;
    height: 500px;

    padding: 10px;
    .title {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .sub-tab {
      width: 600px;
      height: 40px;
      line-height: 40px;

      .sub-tab-item {
        font-size: 14px;
        display: inline-block;
        text-align: center;

        width: 75px;
        height: 40px;
        border: 1px solid #e6ebed;
        cursor: pointer;
      }
      .sub-tab-item.active {
        background: #1261ff;
        color: #fff;
      }
      .sub-tab-item:hover {
        border: 1px solid #1261ff;
      }
      .sub-tab-item:first-child {
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
      }
      .sub-tab-item:last-child {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
      }
    }
    .sub-works-content {
      width: 100%;
      height: 405px;
      .ele-pictrue {
        width: 100%;
        height: 405px;

        display: flex;
        justify-content: center;
        align-items: center;
        img {
          margin-left: 20%;
        }
      }
    }
  }
  //  待办事项
  .schedule {
    width: 100%;
    height: 300px;

    padding: 10px;

    position: relative;
    .title {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .schedule-content {
      width: 100%;
      height: 255px;

      display: flex;
      justify-content: center;
      align-items: center;
      img {
        margin-left: 30%;
      }
    }
  }
  .dropdown-icon {
    &.rotate-up {
      transform: rotate(-180deg); // 逆时针向上旋转
    }

    &.rotate-down {
      transform: rotate(0deg); // 顺时针向下旋转
    }
  }

  .dropdown-content {
    position: absolute;
    background: white;
    border: 1px solid #e6ebed;
    border-radius: 4px;
    padding: 8px 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
    left: 12%;
    .dropdown-item {
      padding: 8px 16px;
      cursor: pointer;
      font-size: 14px;

      &:hover {
        background-color: #f5f7fb;
      }
    }
  }

  //精选模版
  .selected-templates {
    width: 100%;
    height: 400px;

    padding: 10px;
    .title {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }
}

.arrow{
  color: #828385;
  cursor: pointer;
}
.arrow:hover{
  color: #1261ff;
}

//创建设计弹框

.design-modal .ant-modal-content {
  border-radius: 16px;
  overflow: hidden;
  width: 800px;
  height: 600px;
  .app {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 200px;
  background: #4b6bfb;
  color: white;
  padding: 20px;
  height: 100vh;
}

.title {
  font-size: 24px;
  margin-bottom: 30px;
}

.button {
  display: flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  border-radius: 4px;
}

.button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button span {
  margin-left: 10px;
}

.psd {
  background: #2b45d6;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-left: 5px;
}

.mainContent {
  flex: 1;
  padding: 20px;
}

.searchBar {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.searchBar input {
  flex: 1;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-left: 10px;
}

.customSize h3 {
  margin-bottom: 10px;
}

.sizeInput {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sizeInput input {
  width: 100px;
  padding: 5px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.exchange {
  background: #f0f0f0;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.create {
  background: #4b6bfb;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px;
}

.mySection {
  margin: 20px 0;
}

.empty {
  color: #999;
  padding: 20px;
  text-align: center;
}

.recommend h3 {
  margin-bottom: 10px;
}

.cardGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.icon {
  font-size: 24px;
  color: #4b6bfb;
}

.info h4 {
  margin: 0;
  font-size: 16px;
}

.info p {
  margin: 0;
  color: #666;
  font-size: 14px;
}
}
